/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2023-09-01 10:12:02
 * @LastEditors: 卡卡 1071780426@qq.com
 * @LastEditTime: 2023-09-04 12:46:47
 * @FilePath: \zjgxpt\zdgy\src\views\PCManage\pieManage\engineeringDetail\regexDetail.JS
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export default {
    formObj: [{
            xm: true, //是input
            label: "项目名称：", //字段
            prop: "fProjectname", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                tigger: ['blur', 'change'],
                message: '请选择项目名称'
            }]

        },
        {
            bd: true, //是input
            label: "施工标段", //字段
            prop: "fCompanyname", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                tigger: ['blur', 'change'],
                message: '请选择标段名称'
            }]
        },


        // {
        //     input: true, //是input
        //     label: "工程名称", //字段
        //     prop: "fProjectname", //字段名
        //     width: 6, //参考el-col
        //     disabled: false, //是否禁用
        //     rules: [{
        //         required: true,
        //         tigger: ['blur', 'change'],
        //         message: '工程名称不能为空'
        //     }]
        // },
        {
            input: true, //是input
            label: "检测项目", //字段
            prop: "fCheckcontent", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                tigger: ['blur', 'change'],
                message: '工程地点不能为空'
            }]
        },
        {
            input: true, //是input
            label: "本次检测基桩数量", //字段
            prop: "fCheckfoundationcount", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                tigger: ['blur', 'change'],
                message: '本次检测基桩数量不能为空'
            }]
        },
        {
            datePicker: true, //是input
            label: "报验日期", //字段
            prop: "fInspectiondates", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '请选择报验日期'
            }] //验证
        },
        {
            input: true, //是input
            label: "联系人和电话", //字段
            prop: "fContactsandtel", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                tigger: ['blur', 'change'],
                message: '联系人和电话不能为空'
            }]
        },
        {
            datePicker: true, //是input
            label: "检测日期", //字段
            prop: "fCheckdates", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '请选择检测日期'
            }] //验证
        },
        {
            switch: true, //是input
            label: "是否为该工程最后一次检测", //字段
            prop: "fIslastcheck", //字段名
            width: 6, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                required: true,
                tigger: ['blur', 'change'],
                message: '是否为该工程最后一次检测不能为空'
            }]
        },
        {
            input: true, //是input
            label: "检测人员", //字段
            prop: "fCheckernames", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                required: true,
                tigger: ['blur', 'change'],
                message: '检测人员不能为空'
            }]
        },



        {

            label: "资料附件", //字段
            prop: "fDesignfile", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            upload: true,
            uploadSelect: true,
            uploadObj: {
                fileType: "2001",
                limit: 8, //上传长度限制
                hideUpload: false, //是否隐藏上传框
            },
        },

        // {
        //     input: true, //是input
        //     label: "工程信息简述", //字段
        //     prop: "fEngineeringinfo", //字段名
        //     width: 24, //参考el-col
        //     disabled: false, //是否禁用
        // }
    ],
    table_config: {
        imgKeyWord: "url",
        fileKeyWord: "url",
        fileName: "fFileName",
        dialogHeight: '',
        thead: [{
                label: "墩台桩号",
                prop: "fPiernumber",
                minWidth: "70px",
                align: "center",
            },
            {
                label: "灌注日期",
                prop: "fPourdates",
                minWidth: "80px",
                align: "center",

            },

            {
                label: "成孔方式",
                prop: "fMethod",
                minWidth: "69px",
                align: "center",
            },
            {
                label: '强度等级',
                prop: 'fStrengthgrade',
                minWidth: '128px',
                align: "center",
            },
            {
                label: '桩型',
                prop: 'fPiertype',
                minWidth: '120px',
                align: "center",
            },
            {
                label: '检测方法',
                prop: 'fCheckmethod',
                minWidth: '128px',
                align: "center",
            },
            {
                label: '桩类别',
                prop: 'fPiercategory',
                minWidth: '120px',
                align: "center",
            }, {
                label: '现场照片',
                prop: 'picsfiles',
                minWidth: '120px',
                align: "center",
            }, {
                label: '检测资料',
                prop: 'fCheckfile',
                minWidth: '120px',
                align: "center",
            }, {
                label: '是否异常',
                prop: 'fIsexception',
                minWidth: '120px',
                align: "center",
            }, {
                label: '处理照片',
                prop: 'fHandlerpicfile',
                minWidth: '120px',
                align: "center",
            }, {
                label: '异常资料',
                prop: 'fExceptionfile',
                minWidth: '120px',
                align: "center",
            }, {
                label: '异常说明',
                prop: 'fExceptioninfo',
                minWidth: '120px',
                align: "center",
            }
        ],
        isCheckBox: false,
        isIndex: true,
        isOperation: true,
        // 表格操作列
        operation: {
            label: '操作',
            width: '70',
            detail: true,
            prop: true,
            cols: [],

        },
    },
    lrCheckPiertask: [{
            input: true, //是input
            label: "施工标段", //字段
            prop: "fCompanyname", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用

        },
        {
            input: true, //是input
            label: "工程名称", //字段
            prop: "fNote", //字段名
            width: 12, //参考el-col
            disabled: true
        },
        {
            input: true, //是input
            label: "检测项目", //字段
            prop: "fCheckcontent", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用

        },
        {
            input: true, //是input
            label: "本次检测基桩数量", //字段
            prop: "fCheckfoundationcount", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用

        }, {
            input: true, //是input
            label: "报验日期", //字段
            prop: "fInspectiondates", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用

        },
        {
            datePicker: true, //是input
            label: "联系人和电话", //字段
            prop: "fContactsandtel", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用

        },
        {
            input: true, //是input
            label: "检测日期", //字段
            prop: "fCheckdates", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用

        }, {
            input: true, //是input
            label: "检测人员", //字段
            prop: "fCheckernames", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用

        },
        {
            switch: true, //是input
            label: "是否为该工程最后一次检测", //字段
            prop: "fIslastcheck", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
            // radio单选框
        },
        {

            label: "本次检测附件资料", //字段
            prop: "fDesignfile", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            upload: true,
            uploadSelect: false,
            uploadObj: {
                fileType: "2001",
                limit: 8, //上传长度限制
                hideUpload: false, //是否隐藏上传框
            },
        },

    ],

}